// 本地存储 token 模块

const TOKEN_KEY = 'bit-manage-token-key'
// 存储
const setToken = (token) => {
  localStorage.setItem(TOKEN_KEY, token)
}

// 取出
const getToken = () => localStorage.getItem(TOKEN_KEY)

// 移除
const removeToken = () => localStorage.removeItem(TOKEN_KEY)

export { getToken, removeToken, setToken }